package com.oa.service.impl;

import com.oa.pojo.SubjectType;
import com.oa.mapper.SubjectTypeMapper;
import com.oa.service.SubjectTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional
public class SubjectTypeServiceImpl implements SubjectTypeService {

    @Autowired
    private SubjectTypeMapper subjectTypeMapper;

    @Override
    public List<SubjectType> getSubjectTypeList() {
        return subjectTypeMapper.getSubjectTypeList();
    }
}
